package com.service;

import com.pojo.TbCompany;
import com.util.JSONResult;

public interface CompanyService {

    JSONResult findCompanyById(int companyId);

    JSONResult updateCompany(TbCompany company);

    JSONResult deleteCompany(int companyId);

    JSONResult addCompany(TbCompany tbCompany);

    JSONResult findAllCompanyByState(int page, int limit, int state);

    JSONResult findAllCompany(int page, int limit);

    JSONResult findAllCompanyByCompanyName(int page, int limit, String companyName);
}
